QT       += core gui  network qml multimedia sql websockets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    dialog/aichatdialog.cpp \
    dialog/crecordsdialog.cpp \
    dialog/groupchatdialog.cpp \
    globalsignal.cpp \
    save.cpp \
    tailor.cpp \
    widget/aidialogboxwid.cpp \
    widget/crecordswid.cpp \
    widget/mylabel.cpp \
    widget/applicatwid.cpp \
    widget/chatframe.cpp \
    widget/chatuserwid.cpp \
    dialog/chatdialog.cpp \
    dialog/contactsdialog.cpp \
    dialog/friendreqdialog.cpp \
    global.cpp \
    httpmgr.cpp \
    dialog/logindialog.cpp \
    dialog/loggingindialog.cpp \
    main.cpp \
    maininterface.cpp \
    mainwindow.cpp \
    dialog/registerdialog.cpp \
    tcpmgr.cpp \
    usermgr.cpp

HEADERS += \
    dialog/aichatdialog.h \
    dialog/crecordsdialog.h \
    dialog/groupchatdialog.h \
    globalsignal.h \
    save.h \
    tailor.h \
    widget/aidialogboxwid.h \
    widget/crecordswid.h \
    widget/mylabel.h \
    widget/applicatwid.h \
    widget/chatframe.h \
    widget/chatuserwid.h \
    dialog/chatdialog.h \
    dialog/contactsdialog.h \
    dialog/friendreqdialog.h \
    global.h \
    httpmgr.h \
    dialog/logindialog.h \
    dialog/loggingindialog.h \
    maininterface.h \
    mainwindow.h \
    dialog/registerdialog.h \
    singleton.hpp \
    tcpmgr.h \
    usermgr.h

FORMS += \
    dialog/aichatdialog.ui \
    dialog/crecordsdialog.ui \
    dialog/groupchatdialog.ui \
    widget/aidialogboxwid.ui \
    widget/applicatwid.ui \
    widget/chatuserwid.ui \
    dialog/chatdialog.ui \
    dialog/contactsdialog.ui \
    dialog/logindialog.ui \
    dialog/friendreqdialog.ui \
    dialog/loggingindialog.ui \
    maininterface.ui \
    mainwindow.ui \
    dialog/registerdialog.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    qrc.qrc

RC_ICONS = newChatICO.ico
